package thread;

/*
 * @author zzr
 * @date: 2025/03/31  17:29
 * @description:
 */
class Thread11 implements Runnable {
    @Override
    public void run() {
        System.out.println("实现 Runnable 接口,重写 run");
    }
}
public class ThreadDemo22 {
    public static void main(String[] args) {
        Runnable runnable = new Thread11();
        Thread thread = new Thread(runnable);
        thread.start();
    }
}
